﻿using Domain.Permissions;
using System.Web.UI;
using UserInterface.Misc;

namespace UserInterface.RSS
{
    public class RSSPageBase : Page
    {
        private Session currentSession;
        private PermissionManager permissionManager;

        protected void Page_Init()
        {
            currentSession = SessionManager.CurrentSession;
            permissionManager = new PermissionManager(currentSession.User);
        }

        protected Session CurrentSession
        {
            get { return currentSession; }
        }

        protected PermissionManager PermissionManager
        {
            get { return permissionManager; }
        }
    }
}
